package com.example.springboot_study.dao;

import com.example.springboot_study.controller.StudentController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @ClassName StudentDAO
 * @Description TODO
 * @Author H.
 * @Date 2023/5/8 20:15
 * @Version 1.0
 */
@Component
public class StudentDAO {
    @Autowired
    private StudentController studentController;

    @PostConstruct
    public void postConstruct() {
        System.out.println(studentController);
    }
}
